export function getSessionStoreage(name) {
    return JSON.parse(sessionStorage.getItem(name))
}
export function setSessionStoreage(key,value) {
    let newvalue = JSON.stringify(value)
    return sessionStorage.setItem(key,newvalue)
}